package com.weishuang.monitor.leader.commons.enums;

/**
 * Create by IDEA
 *
 * @Author ： weishuang
 * DateTime  ： 2018-08-31 21:40
 *
 */
public enum ECODE implements CODEBASE{

    /**
     * 统一服务器异常！
     */
    ERROR_SERVER(500,"服务器异常！"),
    ;

    private Integer code;
    private String msg;

    ECODE(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }


    public String getMsg() {
        return msg;
    }

}
